package com.be.beadmin.service.entity;

import com.be.beadmin.common.entity.BaseEntity;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

@Data
@Entity
@Table(name="sys_notify_template_info")
public class NotifyTemplateInfo extends BaseEntity {


    @Column(name = "NotifyInfoId",columnDefinition = "VARCHAR(50) COMMENT '通知详情id' ")
    private String notifyInfoId;

    @Column(name = "NotifyType",columnDefinition = "VARCHAR(50) COMMENT '类别：通知/代办' ")
    private String notifyType;

    //---------------
    @Column(name = "Status",columnDefinition = "int COMMENT '状态（-1：未读；1：已读' ")
    private int status;

    @Column(name = "SenderId",columnDefinition = "VARCHAR(50) COMMENT '发送人id' ")
    private String senderId;

    @Column(name = "SenderName",columnDefinition = "VARCHAR(50) COMMENT '发送人名称' ")
    private String senderName;

    @Column(name = "SendTime",columnDefinition = "datetime COMMENT '发送时间' ")
    private Date sendTime;

    @Column(name = "ReceiverId",columnDefinition = "VARCHAR(50) COMMENT '接收人id' ")
    private String receiverId;

    @Column(name = "ReceiverName",columnDefinition = "VARCHAR(50) COMMENT '接收人名称' ")
    private String receiverName;
}
